package com.mmt.www.head.deliver;

import java.util.List;

import javax.inject.Inject;

import org.apache.ibatis.session.SqlSession;
import org.apache.log4j.Logger;
import org.springframework.stereotype.Repository;

@Repository(value = "DeliverDao")
public class DeliverDao {

	@Inject
	SqlSession sqlSession;
	
	Logger log = Logger.getLogger(this.getClass());
	
	public List<DeliverVO> deliverList(String member_code){
		
		log.debug("DeliverDAO - DATA : member_code = " + member_code);		
		
		return sqlSession.selectList("deliver.list", member_code);
	}
	
}
